﻿using System;
using System.Collections.Generic;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data;

public partial class vp_Billing_OrderReport : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        GridView1.DataSource = GetTable();
        GridView1.DataBind();
    }

    private DataTable GetTable()
    {

        DataTable dtbl1 = new DataTable();


        dtbl1.Columns.Add("User Type", typeof(string));
        dtbl1.Columns.Add("Product Code", typeof(string));
        dtbl1.Columns.Add("category Code", typeof(string));
        dtbl1.Columns.Add("Lot No", typeof(string));
        dtbl1.Columns.Add("Tag No", typeof(string));
        dtbl1.Columns.Add("Order Date", typeof(string));

        dtbl1.Rows.Add( "Agent","Product01" ,"category01", "L0232","T0242", "01-Jan-2010");
        dtbl1.Rows.Add("Reseller", "Product01", "category01", "L0232", "T0242", "01-Jan-2010");
        dtbl1.Rows.Add("User", "Product01", "category01", "L0232", "T0242", "01-Jan-2010");
        dtbl1.Rows.Add("User", "Product01", "category01", "L0232", "T0242", "01-Jan-2010");

        return dtbl1;
    }
}
